From 70738d871decbcdec4f5535a7b6f57de26de7d2a Mon Sep 17 00:00:00 2001 From: diogo464 Date: Tue, 12 Aug 2025 16:28:33 +0100 Subject: Clean up old UI code and rename V2 to Drive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove old UI components: file-drive.tsx, history-view.tsx - Remove unused API endpoints: /api/tree, /api/log, /api/fs/route.ts - Rename /v2 routes to /drive routes for cleaner URLs - Rename V2* components to Drive* components (V2DirectoryView -> DriveDirectoryView, etc.) - Update all breadcrumb and navigation references from /v2 to /drive - Redirect root path to /drive instead of old UI - Keep /api/fs/[...path] and /api/directories for uploads and move functionality - Preserve Drive_* server functions for potential future use 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- frontend/app/v2/[...path]/page.tsx | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 frontend/app/v2/[...path]/page.tsx (limited to 'frontend/app/v2/[...path]') diff --git a/frontend/app/v2/[...path]/page.tsx b/frontend/app/v2/[...path]/page.tsx deleted file mode 100644 index 3b4cbb8..0000000 --- a/frontend/app/v2/[...path]/page.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import { V2DirectoryView } from "@/components/v2/V2DirectoryView" -import { Drive_ls } from "@/lib/drive_server" - -export default async function V2DirectoryPage({ - params, -}: { - params: Promise<{ path: string[] }> -}) { - const { path: pathSegments } = await params - const currentPath = '/' + (pathSegments?.join('/') || '') - - const files = await Drive_ls(currentPath, false) - return -} \ No newline at end of file -- cgit